package businesslogic.user;

import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.Calendar;

import javax.swing.table.DefaultTableModel;

import dataService.approveDataService.ApproveDataService;
import dataService.userDataService.UserDataService;
import Enum.Factor;
import Enum.Faculty;
import Enum.Gender;
import Enum.Hometown;
import po.userpo.Birthday;
import useDatabase.java.getTable;
import vo.Limitation;
import vo.uservo.RegisterStuVO;

public class GetRegisterList {
	 public static ArrayList<RegisterStuVO> list(Faculty f , String appliID){
		 ArrayList<Limitation>  limit=new ArrayList<Limitation>();
		 limit.add(new Limitation(Factor.Faculty, f.toString()));
		 limit.add(new Limitation(Factor.Applicant, appliID));
		 ApproveDataService  approveDataService=new ApproveDataService();
		 return approveDataService.getRegister(limit);
	}
}
